

<?if (count($this->topnews)>1):?>
<div class="slider">
    <div class="rotator-title">У нас в Торонто</div>
          <div class="sliderContent">

                       <?foreach ($this->topnews as $onenews):?>
                       <div class="item">
                           <div class="forinfo">
                              <div style="text-align: center">
                                  <a class="titleit" href="/index/news/id/<?=$onenews['id']?>"><?= $this->truncate(strip_tags($onenews['title']), 34)?></a>
                              </div>
                               <div style="margin-top:10px;padding: 10px 5px">
                                   <p><?= $this->truncate(strip_tags($onenews['content']), 170)?></p>
                               </div>
                           </div>
                          <div class="forimg"><img src="http://placehold.it/500x295" alt="" style="  height: 295px; width: 500px;"/></div>
<!--                          <img src="--><?//=$onenews['img']?><!--" alt="" style="  height: 250px; width: 620px;"/>-->

                       </div>

                     <?endforeach?>
		</div>
	</div>
    <div style="clear: both;"></div>
<?endif?>
